package com.example.lncd.model;

/**
 * 位置请求模型，专门用于位置上传
 */
public class LocationRequest {
    private Long userId;
    private double latitude;
    private double longitude;
    private String address;
    
    public LocationRequest() {
    }
    
    public LocationRequest(Long userId, double latitude, double longitude, String address) {
        this.userId = userId;
        this.latitude = latitude;
        this.longitude = longitude;
        this.address = address;
    }
    
    public Long getUserId() {
        return userId;
    }
    
    public void setUserId(Long userId) {
        this.userId = userId;
    }
    
    public double getLatitude() {
        return latitude;
    }
    
    public void setLatitude(double latitude) {
        this.latitude = latitude;
    }
    
    public double getLongitude() {
        return longitude;
    }
    
    public void setLongitude(double longitude) {
        this.longitude = longitude;
    }
    
    public String getAddress() {
        return address;
    }
    
    public void setAddress(String address) {
        this.address = address;
    }
} 